home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 201-225 / disk_222 / plplot / src / source.zoo / setpxl.c < prev    next >
C/C++ Source or Header  |  1989-05-15  |  247b  |  14 lines

  1. /* Sets up pixel size from the number of pixels/mm in each direction */
  2.  
  3. #include "plplot.h"
  4. #include "declare.h"
  5.  
  6. void setpxl(xpmm0,ypmm0)
  7. float xpmm0,ypmm0;
  8. {
  9.     xpmm = xpmm0;
  10.     ypmm = ypmm0;
  11.     umx  = 1000.0/xpmm;
  12.     umy  = 1000.0/ypmm;
  13. }
  14.